package oop4.graph;

/**
 * @author oldliu
 * @since 1.0
 */
public class GTest {
    public static void main(String[] args) {
        ///Graph g=new Graph();
        Graph g =new Triangle(3,4,5);
        System.out.println("面积是"+g.f());
        System.out.println("周长是"+g.c());
    }
}
